package com.yugao.fintech.vctgone.admin.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(title = "角色 DTO")
@Data
public class RoleDTO {
    @Schema(description = "标识")
    private String id;

    @Schema(description = "角色名称")
    @NotNull(message = "角色名称不能为空")
    private String name;

    @Schema(description = "角色编码")
    @NotNull(message = "角色编码不能为空")
    private String roleCode;

    @Schema(description = "角色描述")
    private String roleDesc;
}
